#include <stdio.h>

int 
main(void)
{
    int first, last, number;
    
    puts("Enter a two-digit number:");
    scanf("%2d", &number);

    first = number / 10;
    last = number % 10;

    printf("The reversal is: %d%d\n", last, first);

    return 0;
}
